package com.woniu.microworkorderserver.businessmag.service;

import com.github.pagehelper.PageInfo;
import com.woniu.microcommonsserver.entity.InspectPointInfoEntity;
import com.woniu.microcommonsserver.entity.PollingPlanInfoEntity;
import com.woniu.microcommonsserver.param.PageRequest;

/**
 * @author liaojian
 * */
public interface InspectPlanService {

    /**
     * 新增数据
     * */
    Long save(PollingPlanInfoEntity planInfoEntity, InspectPointInfoEntity entity);

    /**
     * 分页查询
     * */
    PageInfo<PollingPlanInfoEntity> findPage(PageRequest request,PollingPlanInfoEntity entity);

    /**
     * 删除数据
     * */
    void delete(long inspectPlanId);
}
